package com.yixin.hospital.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ToString
public class ReturnPaidVo implements Serializable {
    private Long id;
    private String guidanceCode;
    private BigDecimal cardDebtAmount;  // 办卡欠款金额
    private BigDecimal drugDebtAmount;  // 商品欠款金额
    private BigDecimal totalDebtAmount; // 总欠款金额
    private BigDecimal returnedAmount;  // 已还金额
    private BigDecimal returnAmount;    // 剩余应还金额
    private Integer status;
    private String createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createdTime;
    private String updatedBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime updatedTime;
    private Long patientId;
    private String patientCode;
    private String patientName;
    private String patientSex;
}
